import seaborn as sns
import matplotlib.pylab as plt

classes = ['一班', '二班', '三班', '四班']
scores = [91, 93, 90, 95]

plt.figure(figsize=(10, 7))
sns.set_style(style='darkgrid', rc={'font.sans-serif': 'simHei'})

plt.subplot(1, 2, 1)
b = sns.color_palette(palette='pastel', n_colors=4, desat=0.8)
sns.barplot(x=classes, y=scores, hue=classes, palette=b)
plt.title('22')

plt.subplot(1, 2, 2)
c = sns.color_palette(palette='colorblind', n_colors=4, desat=0.5)
sns.barplot(x=classes, y=scores, hue=classes, palette=c)
plt.title('11')

plt.show()